You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tel:24345' class='c-bl pc-link'>.24345.jpg'' at line 1
SELECT id FROM `SC_errorPageLog` WHERE ip = '3.15.145.50' AND page = '/published/publicdata/SAJTZONASPORTA/attachments/SC/images/massazher12<a href='tel:24345' class='c-bl pc-link'>.24345.</a>jpg'